{//学管主任分配学管界面模板}
<include file="Public:header" />
<script type="text/javascript">
    $(function(){
        $('[name=stu_no]').focus();
        $('[name=b]').click(function(){
            
                $("form:first").submit();
            
        });

        function check(){
            if($('[name=stu_no]').val()==''){
                $('[name=pop]').html('分配的学员ID不能为空！');
                $('[name=stu_no]').focus();
                return false;
            }
            return true;
        }

        function isNumber(field)
         {
            var   Ret   =   true;
            var   NumStr= "0123456789 ";
            var   chr;
            for   (i=0;i <field.length;++i)
            {
            chr=field.charAt(i);
            if   (NumStr.indexOf(chr,0)==-1)
            {
            Ret=false;
            }
            }
            return(Ret);
        }
    });
</script>
<div class="body">
    <b>分配学管：</b><br />
    <br />
    <form  method="post" action="{:U('ppts/xgzr_save_fenpei_xueguan')}" name="save">
    学员姓名：{$stu_name}<br />
    请选择学管：
    <select name="user_id">
        <foreach name="list" item="vo">
            <option value="{$vo.user_id}">{$vo.user_zsname}</option>
        </foreach>
    </select>
    <div name="pop" style="color:red;"></div>
    <input type="hidden" name="stu_id" value="{$stu_id}" />
    <br /><br />
    <input type="button" name="b" value="确认分配" />
    </form>
</div>
<include file="Public:ender" />